package com.shxy.rlzy.mapper;

import com.shxy.rlzy.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author tanhao
 * @since 2021-08-16
 */
@Repository
public interface UserMapper extends BaseMapper<User> {

    /**
     * 获取用户菜单id列表
     * @param userId
     * @return
     */
    List<Long> getNavManuIds(Long userId);
}
